描述

markdown-it 测试


选项卡测试

bash
modprobe -r silead
modprobe silead
bash
modprobe -r gslx680_ts_acpi
modprobe gslx680_ts_acpi

代码块测试

test

testa

test2

js
export default {
  data() {
    return {
      msg: "Error", 
      msg: "Warning", 
    };
  },
};
js
export default {
  data () {
    return {
      msg: 'Removed'
      msg: 'Added'
    }
  }
}
js
export default {
  data() {
    return {
      msg: "Focused!", 
    };
  },
};
js
export default {
  data() {
    return {
      msg: "Highlighted!", 
    };
  },
};
ts
// line-numbers is disabled by default
const line2 = "This is line 2";
const line3 = "This is line 3";
ts
// line-numbers is enabled
const line2 = 'This is line 2'
const line3 = 'This is line 3'
ts
// line-numbers is enabled and start from 2
const line3 = 'This is line 3'
const line4 = 'This is line 4'
js
export default { // Highlighted
  data () {
    return {
      msg: `Highlighted!
      This line isn't highlighted,
      but this and the next 2 are.`,
      motd: 'VitePress is awesome',
      lorem: 'ipsum'
    }
  }
}

提示测试

INFO

This is an info box.

TIP

This is a tip.

WARNING

This is a warning.

DANGER

This is a dangerous warning.

Details

This is a details block.

数学公式

When a0, there are two solutions to (ax2+bx+c=0) and they are

x=b±b24ac2a

Maxwell's equations:

equationdescription
B=0divergence of B is zero
×E+1cBt=0curl of E is proportional to the rate of change of B
×B1cEt=4πcjE=4πρwha?

列表样式

  • 1
  • 2
  • 3
  1. 1
  2. 2
  3. 3

2.9 分割线

可以在一行中用三个以上的减号来建立一个分隔线,同时需要在分隔线的上面空一行。如下:


脚注 1 链接[1]

脚注 2 链接[2]

行内的脚注[3] 定义。

重复的页脚定义[2:1]


  1. 脚注 可以包含特殊标记

    也可以由多个段落组成 ↩︎

  2. 脚注文字。 ↩︎ ↩︎

  3. 行内脚注文本 ↩︎